<%@include file="connection.jsp" %>
<%
    String id = request.getParameter("id");
    
    st=con.createStatement();
    rs=st.executeQuery("select * from company where com_id='"+id+"'");
    
    while(rs.next()){
        out.print("{\"name\":\""+rs.getString("com_nm")+"\",\"ticker\":\""+rs.getString("ticker")+"\"}");
    }
    

%>